package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员等级业务对象 p_group
 *
 * @author ruoyi
 * @date 2022-07-13
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("会员等级业务对象")
public class PGroupBo extends BaseEntity {

    /**
     * 
     */
    @ApiModelProperty(value = "", required = true)
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 会员等级
     */
    @ApiModelProperty(value = "会员等级", required = true)
    @NotBlank(message = "会员等级不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;


}
